From: Antoine Musso Date: Sun, 20 Mar 2011 11:39:44 +0000 (+0000) Subject: correct wfDebug() calls added in r79272 & r79368 X-Git-Tag: 1.31.0-rc.0~31304 X-Git-Url: http://git.cyclocoop.org/%28%5B%5E/404?a=commitdiff_plain;h=0d2baed222ec9556798c51280e0a797b43ca8c2a;p=lhc%2Fweb%2Fwiklou.git correct wfDebug() calls added in r79272 & r79368 --- diff --git a/includes/db/CloneDatabase.php b/includes/db/CloneDatabase.php index 5410d1412d..b3015f69b0 100644 --- a/includes/db/CloneDatabase.php +++ b/includes/db/CloneDatabase.php @@ -99,12 +99,12 @@ class CloneDatabase { if( $this->dropCurrentTables && !in_array( $this->db->getType(), array( 'postgres' ) ) ) { $this->db->dropTable( $tbl, __METHOD__ ); - wfDebug( "Dropping {$this->newTablePrefix}{$oldTableName}\n", __METHOD__ ); + wfDebug( __METHOD__." dropping {$this->newTablePrefix}{$oldTableName}\n", true); //Dropping the oldTable because the prefix was changed } # Create new table - wfDebug( "Duplicating $oldTableName to $newTableName\n", __METHOD__ ); + wfDebug( __METHOD__." duplicating $oldTableName to $newTableName\n", true ); $this->db->duplicateTableStructure( $oldTableName, $newTableName, $this->useTemporaryTables ); }